package com.yang;

import com.yang.dao.OrderMapper;
import com.yang.edu.YangConfiguration;
import com.yang.edu.YangExecutor;
import com.yang.edu.YangSqlSession;
import com.yang.po.Orders;

/**
 * @Description: 测试类
 * @author: Yang Qiang
 * @create: 2021-11-09 21:47
 */
public class Test {
    public static void main(String[] args) {
        YangSqlSession yangSqlSession = new YangSqlSession(new YangConfiguration(), new YangExecutor());

        OrderMapper mapper = yangSqlSession.getMapper(OrderMapper.class);
        Orders orders = mapper.selectById(1);
        System.out.println(orders);
    }
}
